﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace bai3_
{
    class CRec
    {
        int w, h;
        public CRec(int a, int b)
        {
            w = a;
            h = b;
        }
        public int area()
        {
            return (w * h);
        }
    }
    class Program
    {
        static void Main (string[] agre)
        {
            CRec recta = new CRec(3, 4);
            CRec rectb = new CRec(5, 6);
            Console.WriteLine("recta:{0}", recta.area());
            Console.WriteLine("rectb:{0}", rectb.area());
        }
    }
}
